import axios from 'axios'
import { Toast } from 'vant'

const service = axios.create({
  baseURL: 'http://119.91.147.73'
})

// 拦截响应
service.interceptors.response.use(response => {
  return response
}, err => {
  Toast('网络请求失败')
  Promise.reject(err)
})
export default service
